package com.atguigu.gmall.product.biz;

import com.atguigu.gmall.product.entity.CategoryView;
import com.atguigu.gmall.web.CategoryVo;

import java.util.List;

/**
 * @author:ahang
 * @create:2022-10-03 20:49
 * @Description:
 */
public interface CategoryBizService {
    /**
     * 获取分类树形结构
     * @return
     */
    List<CategoryVo> getCategoryTree();

    /**
     * 查询三级分类值和名
     * @param skuId
     * @return
     */
    CategoryView getCategory(Long skuId);
}
